namespace RuoVea.WeighIns.Server.Dto;

/// <summary>
/// 时段特定统计
/// </summary>
public class PeriodSpecificStat
{
    /// <summary>
    /// 时段ID
    /// </summary>
    public int PeriodId { get; set; }

    /// <summary>
    /// 时段名称
    /// </summary>
    public string? PeriodName { get; set; }

    /// <summary>
    /// 当前体重
    /// </summary>
    public double CurrentWeight { get; set; }

    /// <summary>
    /// 当前体重时间
    /// </summary>
    public DateTime? CurrentWeightTime { get; set; }

    /// <summary>
    /// 最高体重
    /// </summary>
    public double MaxWeight { get; set; }

    /// <summary>
    /// 最低体重
    /// </summary>
    public double MinWeight { get; set; }

    /// <summary>
    /// 平均体重
    /// </summary>
    public double AverageWeight { get; set; }

    /// <summary>
    /// 总变化量
    /// </summary>
    public double TotalChange { get; set; }

    /// <summary>
    /// 记录总数
    /// </summary>
    public int TotalRecords { get; set; }
}
